﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ServiceAgent.CatalogueService;

namespace ServiceAgent
{
    public class ServiceProxy : ServiceAgent.IServiceProxy
    {
        private static CatalogueServiceClient service;

        public CatalogueServiceClient Service
        {
            get { return service; }
        }
        public ServiceProxy()
        {
            service = new CatalogueServiceClient();
        }

        public DanTocDTO Test()
        {
            return service.GetDanTocByID(1);
        }
    }
}
